﻿/*
==================================================================
    注意：此文件为Auto代码，不可手动修改【Token刷新记录】
==================================================================
*/

namespace Entities
{
    /// <summary>
    /// Token刷新记录
    /// </summary>
    [SugarTable("dbo.RefreshToken")]
    public partial class RefreshToken
    {
        /// <summary>
        /// 编号
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "RefreshTokenID")]
        public int RefreshTokenID { get; set; }
        
        /// <summary>
        /// 用户登录编码
        /// </summary>
        [SugarColumn(ColumnName = "LoginCode")]
        public string LoginCode { get; set; }
        
        /// <summary>
        /// 用户登录类型
        /// </summary>
        [SugarColumn(ColumnName = "LoginType")]
        public int LoginType { get; set; }
        
        /// <summary>
        /// 用户登录类型ID
        /// </summary>
        [SugarColumn(ColumnName = "LoginTypeID")]
        public int LoginTypeID { get; set; }
        
        /// <summary>
        /// 用户
        /// </summary>
        [SugarColumn(ColumnName = "UserID")]
        public int UserID { get; set; }
        
        /// <summary>
        /// Token值
        /// </summary>
        [SugarColumn(ColumnName = "TokenValue")]
        public string TokenValue { get; set; }
        
        /// <summary>
        /// 记录时间
        /// </summary>
        [SugarColumn(ColumnName = "IssuedOn")]
        public DateTime IssuedOn { get; set; }
        
        /// <summary>
        /// 过期时间
        /// </summary>
        [SugarColumn(ColumnName = "ExpiredOn")]
        public DateTime ExpiredOn { get; set; }
    }
}
